package cn.chengpengper.seckill.stock.starter.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author chengpeng.hu
 */
@Configuration
@MapperScan(value = {"cn.chengpengper.seckill.stock.infrastructure.mapper"})
@ComponentScan(value = {"cn.chengpengper"})
@Import({RedisConfig.class})
@ServletComponentScan(basePackages = {"cn.chengpengper"})
@EnableTransactionManagement(proxyTargetClass = true)
public class TransactionConfig {

}
